import http from "@/http";
import { ReportModel } from "./ReportModel";


// 处理投诉
export const handleReportApi = (reportId: number) => {
  return http.post(`/api/reports/handleReport`,{reportId:reportId});
};
// 获取投诉列表（分页+条件查询）
export const getReportListApi = (params: ReportModel) => {
  return http.get("/api/reports/getReportList", params);
};